package oa.hleast.xswl.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.SysUser;
import oa.hleast.xswl.pojo.dto.SysUserDto;
import oa.hleast.xswl.pojo.dto.UserDTO;

public interface ISysUserService extends IService<SysUser> {

    IPage<SysUser> list(Page<SysUser> page, SysUser sysUser);

    boolean saveUser(SysUser user);

    boolean updateUser(SysUser user);

    UserDTO getUserByUsername(String username);

    boolean updateStoreInfo(Long id, Long storeId);

    SysUserDto getSysUserDtoById(Long id);

    boolean checkRepeatUserName(String userName);
}
